.class public final Lorg/msgpack/value/y;
.super Ljava/lang/Object;
.source "ValueFactory.java"


# direct methods
.method public static a([Lorg/msgpack/value/x;Z)Lorg/msgpack/value/f;
    .locals 1

    .line 8
    array-length v0, p0

    if-nez v0, :cond_0

    .line 9
    invoke-static {}, Les/pr0;->B()Lorg/msgpack/value/f;

    move-result-object p0

    return-object p0

    :cond_0
    if-eqz p1, :cond_1

    .line 10
    new-instance p1, Les/pr0;

    invoke-direct {p1, p0}, Les/pr0;-><init>([Lorg/msgpack/value/x;)V

    return-object p1

    .line 11
    :cond_1
    new-instance p1, Les/pr0;

    array-length v0, p0

    invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object p0

    check-cast p0, [Lorg/msgpack/value/x;

    invoke-direct {p1, p0}, Les/pr0;-><init>([Lorg/msgpack/value/x;)V

    return-object p1
.end method

.method public static a([BZ)Lorg/msgpack/value/g;
    .locals 1

    if-eqz p1, :cond_0

    .line 6
    new-instance p1, Les/rr0;

    invoke-direct {p1, p0}, Les/rr0;-><init>([B)V

    return-object p1

    .line 7
    :cond_0
    new-instance p1, Les/rr0;

    array-length v0, p0

    invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([BI)[B

    move-result-object p0

    invoke-direct {p1, p0}, Les/rr0;-><init>([B)V

    return-object p1
.end method

.method public static a(Z)Lorg/msgpack/value/h;
    .locals 0

    if-eqz p0, :cond_0

    .line 2
    sget-object p0, Les/sr0;->b:Lorg/msgpack/value/h;

    goto :goto_0

    :cond_0
    sget-object p0, Les/sr0;->c:Lorg/msgpack/value/h;

    :goto_0
    return-object p0
.end method

.method public static a(B[B)Lorg/msgpack/value/i;
    .locals 1

    .line 12
    new-instance v0, Les/ur0;

    invoke-direct {v0, p0, p1}, Les/ur0;-><init>(B[B)V

    return-object v0
.end method

.method public static a(D)Lorg/msgpack/value/j;
    .locals 1

    .line 5
    new-instance v0, Les/tr0;

    invoke-direct {v0, p0, p1}, Les/tr0;-><init>(D)V

    return-object v0
.end method

.method public static a(J)Lorg/msgpack/value/k;
    .locals 1

    .line 3
    new-instance v0, Les/vr0;

    invoke-direct {v0, p0, p1}, Les/vr0;-><init>(J)V

    return-object v0
.end method

.method public static a(Ljava/math/BigInteger;)Lorg/msgpack/value/k;
    .locals 1

    .line 4
    new-instance v0, Les/qr0;

    invoke-direct {v0, p0}, Les/qr0;-><init>(Ljava/math/BigInteger;)V

    return-object v0
.end method

.method public static a()Lorg/msgpack/value/m;
    .locals 1

    .line 1
    invoke-static {}, Les/xr0;->B()Lorg/msgpack/value/m;

    move-result-object v0

    return-object v0
.end method

.method public static b([Lorg/msgpack/value/x;Z)Lorg/msgpack/value/l;
    .locals 1

    .line 3
    array-length v0, p0

    if-nez v0, :cond_0

    .line 4
    invoke-static {}, Les/wr0;->B()Lorg/msgpack/value/l;

    move-result-object p0

    return-object p0

    :cond_0
    if-eqz p1, :cond_1

    .line 5
    new-instance p1, Les/wr0;

    invoke-direct {p1, p0}, Les/wr0;-><init>([Lorg/msgpack/value/x;)V

    return-object p1

    .line 6
    :cond_1
    new-instance p1, Les/wr0;

    array-length v0, p0

    invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object p0

    check-cast p0, [Lorg/msgpack/value/x;

    invoke-direct {p1, p0}, Les/wr0;-><init>([Lorg/msgpack/value/x;)V

    return-object p1
.end method

.method public static b([BZ)Lorg/msgpack/value/p;
    .locals 1

    if-eqz p1, :cond_0

    .line 1
    new-instance p1, Les/yr0;

    invoke-direct {p1, p0}, Les/yr0;-><init>([B)V

    return-object p1

    .line 2
    :cond_0
    new-instance p1, Les/yr0;

    array-length v0, p0

    invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([BI)[B

    move-result-object p0

    invoke-direct {p1, p0}, Les/yr0;-><init>([B)V

    return-object p1
.end method
